let fs = require("fs");

let files = fs.readdirSync(process.cwd());

console.log(files)

files.forEach(file => {
    if( /\.css/.test(file) ){
        fs.watchFile(process.cwd()+'/'+file,function(){
            console.log("file changed")
        })
    }
});